using System;
using System.Collections.Generic;
using System.Text;
using THSLib;using THSERP.BaseProvider;

namespace THSERP.Modules.ProjectMaterial
{
    public class ProjectMaterialItemsEntity : ERPModuleItemsEntity
    {
        #region Variables
        protected int _pMProjectMaterialItemID;
        protected String _aAStatus = BusinessObject.DefaultAAStatus;
        protected int _fK_PMProjectMaterialID;
        protected int _fK_PMProjectID;
        protected int _fK_PMProjectPhaseID;
        protected int _fK_ICProductID;
        protected int _fK_ICStockID;
        protected String _pMProjectMaterialItemProductType = String.Empty;
        protected String _pMProjectMaterialItemTypeCombo = String.Empty;
        protected int _pMProjectMaterialItemSortOrder;
        protected String _pMProjectMaterialItemProductDesc = String.Empty;
        protected String _pMProjectMaterialItemProductBasicUnit = String.Empty;
        protected String _pMProjectMaterialItemProductPackagingUnit = String.Empty;
        protected double _pMProjectMaterialItemProductPackagingFactor;
        protected double _pMProjectMaterialItemProductUnitCost;
        protected double _pMProjectMaterialItemProductQtyOld;
        protected double _pMProjectMaterialItemProductQty;
        protected double _pMProjectMaterialItemProductBasicQty;
        protected double _pMProjectMaterialItemProductPakagingQty;
        protected double _pMProjectMaterialItemQty1;
        protected double _pMProjectMaterialItemQty2;
        protected double _pMProjectMaterialItemQty3;
        protected double _pMProjectMaterialItemQty4;
        protected double _pMProjectMaterialItemQty5;
        protected double _pMProjectMaterialItemQty6;
        protected String _pMProjectMaterialItemComment = String.Empty;
        protected double _pMProjectMaterialItemUnitVolumn;
        protected double _pMProjectMaterialItemUnitWeight;
        protected double _pMProjectMaterialItemPlusCost;
        protected double _pMProjectMaterialItemTotalCost;
        #endregion

        #region Public properties
        public int PMProjectMaterialItemID
        {
            get { return _pMProjectMaterialItemID; }
            set
            {
                if (value != this._pMProjectMaterialItemID)
                {
                    _pMProjectMaterialItemID = value;
                    //NotifyChanged("PMProjectMaterialItemID");
                }
            }
        }
        public String AAStatus
        {
            get { return _aAStatus; }
            set
            {
                if (value != this._aAStatus)
                {
                    _aAStatus = value;
                    //NotifyChanged("AAStatus");
                }
            }
        }
        public int FK_PMProjectMaterialID
        {
            get { return _fK_PMProjectMaterialID; }
            set
            {
                if (value != this._fK_PMProjectMaterialID)
                {
                    _fK_PMProjectMaterialID = value;
                    //NotifyChanged("FK_PMProjectMaterialID");
                }
            }
        }
        public int FK_PMProjectID
        {
            get { return _fK_PMProjectID; }
            set
            {
                if (value != this._fK_PMProjectID)
                {
                    _fK_PMProjectID = value;
                    //NotifyChanged("FK_PMProjectID");
                }
            }
        }
        public int FK_PMProjectPhaseID
        {
            get { return _fK_PMProjectPhaseID; }
            set
            {
                if (value != this._fK_PMProjectPhaseID)
                {
                    _fK_PMProjectPhaseID = value;
                    //NotifyChanged("FK_PMProjectPhaseID");
                }
            }
        }
        public int FK_ICProductID
        {
            get { return _fK_ICProductID; }
            set
            {
                if (value != this._fK_ICProductID)
                {
                    _fK_ICProductID = value;
                    //NotifyChanged("FK_ICProductID");
                }
            }
        }
        public int FK_ICStockID
        {
            get { return _fK_ICStockID; }
            set
            {
                if (value != this._fK_ICStockID)
                {
                    _fK_ICStockID = value;
                    //NotifyChanged("FK_ICStockID");
                }
            }
        }
        public String PMProjectMaterialItemProductType
        {
            get { return _pMProjectMaterialItemProductType; }
            set
            {
                if (value != this._pMProjectMaterialItemProductType)
                {
                    _pMProjectMaterialItemProductType = value;
                    //NotifyChanged("PMProjectMaterialItemProductType");
                }
            }
        }
        public String PMProjectMaterialItemTypeCombo
        {
            get { return _pMProjectMaterialItemTypeCombo; }
            set
            {
                if (value != this._pMProjectMaterialItemTypeCombo)
                {
                    _pMProjectMaterialItemTypeCombo = value;
                    //NotifyChanged("PMProjectMaterialItemTypeCombo");
                }
            }
        }
        public int PMProjectMaterialItemSortOrder
        {
            get { return _pMProjectMaterialItemSortOrder; }
            set
            {
                if (value != this._pMProjectMaterialItemSortOrder)
                {
                    _pMProjectMaterialItemSortOrder = value;
                    //NotifyChanged("PMProjectMaterialItemSortOrder");
                }
            }
        }
        public String PMProjectMaterialItemProductDesc
        {
            get { return _pMProjectMaterialItemProductDesc; }
            set
            {
                if (value != this._pMProjectMaterialItemProductDesc)
                {
                    _pMProjectMaterialItemProductDesc = value;
                    //NotifyChanged("PMProjectMaterialItemProductDesc");
                }
            }
        }
        public String PMProjectMaterialItemProductBasicUnit
        {
            get { return _pMProjectMaterialItemProductBasicUnit; }
            set
            {
                if (value != this._pMProjectMaterialItemProductBasicUnit)
                {
                    _pMProjectMaterialItemProductBasicUnit = value;
                    //NotifyChanged("PMProjectMaterialItemProductBasicUnit");
                }
            }
        }
        public String PMProjectMaterialItemProductPackagingUnit
        {
            get { return _pMProjectMaterialItemProductPackagingUnit; }
            set
            {
                if (value != this._pMProjectMaterialItemProductPackagingUnit)
                {
                    _pMProjectMaterialItemProductPackagingUnit = value;
                    //NotifyChanged("PMProjectMaterialItemProductPackagingUnit");
                }
            }
        }
        public double PMProjectMaterialItemProductPackagingFactor
        {
            get { return _pMProjectMaterialItemProductPackagingFactor; }
            set
            {
                if (value != this._pMProjectMaterialItemProductPackagingFactor)
                {
                    _pMProjectMaterialItemProductPackagingFactor = value;
                    //NotifyChanged("PMProjectMaterialItemProductPackagingFactor");
                }
            }
        }
        public double PMProjectMaterialItemProductUnitCost
        {
            get { return _pMProjectMaterialItemProductUnitCost; }
            set
            {
                if (value != this._pMProjectMaterialItemProductUnitCost)
                {
                    _pMProjectMaterialItemProductUnitCost = value;
                    //NotifyChanged("PMProjectMaterialItemProductUnitCost");
                }
            }
        }
        public double PMProjectMaterialItemProductQtyOld
        {
            get { return _pMProjectMaterialItemProductQtyOld; }
            set
            {
                if (value != this._pMProjectMaterialItemProductQtyOld)
                {
                    _pMProjectMaterialItemProductQtyOld = value;
                    //NotifyChanged("PMProjectMaterialItemProductQtyOld");
                }
            }
        }
        public double PMProjectMaterialItemProductQty
        {
            get { return _pMProjectMaterialItemProductQty; }
            set
            {
                if (value != this._pMProjectMaterialItemProductQty)
                {
                    _pMProjectMaterialItemProductQty = value;
                    //NotifyChanged("PMProjectMaterialItemProductQty");
                }
            }
        }
        public double PMProjectMaterialItemProductBasicQty
        {
            get { return _pMProjectMaterialItemProductBasicQty; }
            set
            {
                if (value != this._pMProjectMaterialItemProductBasicQty)
                {
                    _pMProjectMaterialItemProductBasicQty = value;
                    //NotifyChanged("PMProjectMaterialItemProductBasicQty");
                }
            }
        }
        public double PMProjectMaterialItemProductPakagingQty
        {
            get { return _pMProjectMaterialItemProductPakagingQty; }
            set
            {
                if (value != this._pMProjectMaterialItemProductPakagingQty)
                {
                    _pMProjectMaterialItemProductPakagingQty = value;
                    //NotifyChanged("PMProjectMaterialItemProductPakagingQty");
                }
            }
        }
        public double PMProjectMaterialItemQty1
        {
            get { return _pMProjectMaterialItemQty1; }
            set
            {
                if (value != this._pMProjectMaterialItemQty1)
                {
                    _pMProjectMaterialItemQty1 = value;
                    //NotifyChanged("PMProjectMaterialItemQty1");
                }
            }
        }
        public double PMProjectMaterialItemQty2
        {
            get { return _pMProjectMaterialItemQty2; }
            set
            {
                if (value != this._pMProjectMaterialItemQty2)
                {
                    _pMProjectMaterialItemQty2 = value;
                    //NotifyChanged("PMProjectMaterialItemQty2");
                }
            }
        }
        public double PMProjectMaterialItemQty3
        {
            get { return _pMProjectMaterialItemQty3; }
            set
            {
                if (value != this._pMProjectMaterialItemQty3)
                {
                    _pMProjectMaterialItemQty3 = value;
                    //NotifyChanged("PMProjectMaterialItemQty3");
                }
            }
        }
        public double PMProjectMaterialItemQty4
        {
            get { return _pMProjectMaterialItemQty4; }
            set
            {
                if (value != this._pMProjectMaterialItemQty4)
                {
                    _pMProjectMaterialItemQty4 = value;
                    //NotifyChanged("PMProjectMaterialItemQty4");
                }
            }
        }
        public double PMProjectMaterialItemQty5
        {
            get { return _pMProjectMaterialItemQty5; }
            set
            {
                if (value != this._pMProjectMaterialItemQty5)
                {
                    _pMProjectMaterialItemQty5 = value;
                    //NotifyChanged("PMProjectMaterialItemQty5");
                }
            }
        }
        public double PMProjectMaterialItemQty6
        {
            get { return _pMProjectMaterialItemQty6; }
            set
            {
                if (value != this._pMProjectMaterialItemQty6)
                {
                    _pMProjectMaterialItemQty6 = value;
                    //NotifyChanged("PMProjectMaterialItemQty6");
                }
            }
        }
        public String PMProjectMaterialItemComment
        {
            get { return _pMProjectMaterialItemComment; }
            set
            {
                if (value != this._pMProjectMaterialItemComment)
                {
                    _pMProjectMaterialItemComment = value;
                    //NotifyChanged("PMProjectMaterialItemComment");
                }
            }
        }
        public double PMProjectMaterialItemUnitVolumn
        {
            get { return _pMProjectMaterialItemUnitVolumn; }
            set
            {
                if (value != this._pMProjectMaterialItemUnitVolumn)
                {
                    _pMProjectMaterialItemUnitVolumn = value;
                    //NotifyChanged("PMProjectMaterialItemUnitVolumn");
                }
            }
        }
        public double PMProjectMaterialItemUnitWeight
        {
            get { return _pMProjectMaterialItemUnitWeight; }
            set
            {
                if (value != this._pMProjectMaterialItemUnitWeight)
                {
                    _pMProjectMaterialItemUnitWeight = value;
                    //NotifyChanged("PMProjectMaterialItemUnitWeight");
                }
            }
        }
        public double PMProjectMaterialItemPlusCost
        {
            get { return _pMProjectMaterialItemPlusCost; }
            set
            {
                if (value != this._pMProjectMaterialItemPlusCost)
                {
                    _pMProjectMaterialItemPlusCost = value;
                    //NotifyChanged("PMProjectMaterialItemPlusCost");
                }
            }
        }
        public double PMProjectMaterialItemTotalCost
        {
            get { return _pMProjectMaterialItemTotalCost; }
            set
            {
                if (value != this._pMProjectMaterialItemTotalCost)
                {
                    _pMProjectMaterialItemTotalCost = value;
                    //NotifyChanged("PMProjectMaterialItemTotalCost");
                }
            }
        }
        #endregion
    }
}
